package com.bjc.base.bean.request;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 绘本
 * </p>
 *
 * @author 许自辉
 * @since 2018-06-10
 */
@Getter
@Setter
@ToString
@ApiModel("绘本")
public class BookReqVO extends BaseReqsVO {

	@ApiModelProperty("关键词搜索")
	private String searchKeyword;
	
    @ApiModelProperty("图书编码，需要唯一")
	private String bookCode;

    @ApiModelProperty("绘本分类ID")
	private Integer cid;
    
    @ApiModelProperty("绘本分类名称")
    private String classificationName;

    @ApiModelProperty("绘本所属人uid(管理员录入为1，分享的绘本则为分享人的uid)")
	private Integer ownerUid;

    @ApiModelProperty("绘本名字简称")
	private String bookShortName;

    @ApiModelProperty("绘本名称")
	private String bookName;

    @ApiModelProperty("绘本简介")
	private String bookInfo;

    @ApiModelProperty("成本价格(小鱼儿买入时价格,如果是他人分享绘本该值为0)")
	private BigDecimal costPrice;

    @ApiModelProperty("零售价格(如果)")
	private BigDecimal retailPrice;

    @ApiModelProperty("折扣后价格")
	private BigDecimal discountPrice;

    @ApiModelProperty("管理员推荐星级(总共10颗星,该值决定该绘本在书城搜索排名)")
	private BigDecimal recommendStar;

    @ApiModelProperty("小鱼儿会员评价星级(总计5颗星,综合该书在评价区的星级评分后的平均值)")
	private BigDecimal evaluationStar;

    @ApiModelProperty("是否出售(0代表不可出售,1代表可出售)")
	private Integer isSell;

    @ApiModelProperty("是否下架(0代表正常状态未下架,1代表下架,即不可租不可买)")
	private Integer isDel;

    @ApiModelProperty("适度最小年龄（岁）")
	private Integer readMinAge;

    @ApiModelProperty("适度最大年龄（岁）")
	private Integer readMaxAge;

    @ApiModelProperty("租赁价格(单位是多少元/周)")
	private BigDecimal borrowPrice;

    @ApiModelProperty("活动时租赁价格(单位是多少元/周)")
	private BigDecimal promotionBorrowPrice;

    @ApiModelProperty("是否参加促租活动(0代表不参加,1代表参加)")
	private Integer isPromotionBorrow;

    @ApiModelProperty("是否参加促销即卖书活动(0代表不参加,1代表参加)")
	private Integer isPromotionSell;

    @ApiModelProperty("该书被借阅单周返给分享者的小鱼币数量")
	private BigDecimal shareXybAmount;

    @ApiModelProperty("作者")
	private String author;

    @ApiModelProperty("作者国籍")
	private String authorCountry;

    @ApiModelProperty("绘本绘制者")
	private String drawer;

    @ApiModelProperty("出版社")
	private String press;

    @ApiModelProperty("关键词")
	private String keyWord;
    
    @ApiModelProperty("描述")
    private String describe;

    @ApiModelProperty("绘本图片1")
	private String bookImage1;

    @ApiModelProperty("绘本图片2")
	private String bookImage2;

    @ApiModelProperty("绘本图片3")
	private String bookImage3;

    @ApiModelProperty("绘本图片4")
	private String bookImage4;

    @ApiModelProperty("绘本图片5")
	private String bookImage5;

    @ApiModelProperty("根据什么排序")
   	private String orderByString;

}
